const Layout = () => import('@/layout/index.vue')
const category = () => import('@/views/post/category.vue')
const postManager = () => import('@/views/post/postManager.vue')
const follow = () => import('@/views/social/follow.vue')
const like = () => import('@/views/social/like.vue')
export default [
  {
    path: '/post',
    component: Layout,
    name: 'post',
    meta: {
      title: '文章管理',
    },
    icon: 'Histogram',
    children: [
      {
        path: '/category',
        name: 'category',
        component: category,
        meta: {
          title: '分类管理',
        },
      },
      {
        path: '/postManager',
        name: 'postManger',
        component: postManager,
        meta: {
          title: '帖子',
        },
      },
      {
        path: '/follow',
        name: 'follow',
        component: follow,
        meta: {
          title: '关注管理',
        },
      },
      {
        path: '/like',
        name: 'like',
        component: like,
        meta: {
          title: '点赞管理',
        },
      },
    ],
  },
]
